﻿using System;
using Silent.MDB.Server.Model;

namespace Silent.MDB.Server
{
    class Program
    {
        static void Main(string[] args)
        {
            ApplicationCore.Initialize();
            ApplicationCore.StartService();
            FreezeConsole();
        }

        private static void FreezeConsole()
        {
            Console.WriteLine("print 'quit' to exit...");

            while (true)
            {
                if (string.Equals("quit", Console.ReadLine()))
                {
                    break;
                }
            }
        }
    }
}
